package com.qfedu.edu.seckill.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiaobobo
 * @title: QueueMessage
 * @projectName seckill-fy-2401-parent
 * @description: 队列消息对象
 * @date 2024/11/12  9:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueueMessage {
    //消息的唯一的标识
    private String messageId;
    //消息的类型   1:下订单    2:修改订状态   3、减库存
    private Integer type;
    //交换机的名字
    private String exchangeName;
    //路由key的名字
    private String routingKey;
    //队列的名字
    private String queueName;
    //队列消息
    private String message;
}
